package com.unknown.wiki.repository;

import com.unknown.wiki.model.Wiki;

import retrofit2.Call;
import retrofit2.http.GET;
import retrofit2.http.Headers;
import retrofit2.http.Query;

public interface WikiAPI {

    @Headers({"Accept: application/json"})
    @GET("wiki/getWikiById")
    Call<Wiki> getWiki(@Query("id") String id);
}
